/**
 * 
 */
package com.example.radioclub.data;

/**
 * Please defines any constants you want to use for developing here.
 * 
 * @author wizard
 * 
 */	
public class Constants {
	
	// General informations
	public static final String APP_NAME = "RADIO_CLUB";
	public static final String SHARED_PREF_NAME = APP_NAME;
	public static final String APP_TAG = "Radio Club Native ";

	// Login section
	public static boolean SOCMED_LOGIN_STATUS = false;
	public static boolean USER_LOGIN_STATUS = false;
	public static boolean CLIENT_LOGIN_STATUS = false;
	public static final int FACEBOOK_LOGIN = (new String("facebook")).hashCode();
	public static final int GOOGLE_LOGIN = (new String("google")).hashCode();
	public static final int MSN_LOGIN = (new String("microsoft")).hashCode();
	public static final int YAHOO_LOGIN = (new String("yahoo")).hashCode();
	public static final String MELON_CLIENT_COOKIE = "melon_client_cookie";
	public static final String MELON_USER_COOKIE = "melon_user_cookie";
	public static final String MELON_CHANNEL_CODE = "melon_channel_code";
	
	public static final String FACEBOOK_APP_ID = "192503797562426";
	public static final String FACEBOOK_APP_SECRET = "4df7642db81594fa019927014c443a11";
	
	public static final String GOOGLE_APP_ID = "";
	public static final String GOOGLE_API_KEY_BROWSER = "AIzaSyCPpr-4ZAZAazx3dNIC9Fkvt-EGcrxp1vs";
	public static final String GOOGLE_API_KEY_ANDROID = "AIzaSyD0j6U0bWVVVuFVkGb2nb9WOz2apFTsyeY";
	public static final String GOOGLE_API_AUTH_TYPE = "oauth2:https://www.googleapis.com/auth/userinfo.profile";
	
	public static final String YAHOO_APP_ID = "QiQRQ074";
	public static final String YAHOO_CONSUMER_KEY = "dj0yJmk9MnlueEUxNk04NUJEJmQ9WVdrOVVXbFJVbEV3TnpRbWNHbzlNell3TnpFMU9EWXkmcz1jb25zdW1lcnNlY3JldCZ4PWVk";
	public static final String YAHOO_CONSUMER_SECRET = "2abbe75c59880ea95ce73826d58948b4ecaec243";
	public static final String API_YAHOO_REQUEST_TOKEN = "https://api.login.yahoo.com/oauth/v2/get_request_token";
	public static final String API_YAHOO_REQUEST_AUTH = "https://api.login.yahoo.com/oauth/v2/request_auth";
	
	// MelOn API section
	public static final String API_MELON_CLIENTNAME = "SuaraRadio Client";
	public static final String API_MELON_PASSWORD = "9A910355C0761C36E040007F01000E33";
	public static boolean API_MELON_ACCESS_STATUS = false;
	public static final String API_MELON_ROOT = "http://118.98.31.135:8000/mapi";
	public static final String API_MELON_AUTH_USER = API_MELON_ROOT + "/authentication/user";
	public static final String API_MELON_AUTH_CLIENT = API_MELON_ROOT + "/authentication/client";
	public static final String API_MELON_CHART_DAILY = API_MELON_ROOT + "/chart/daily";
	public static final String API_MELON_CHART_WEEKLY = API_MELON_ROOT + "/chart/weekly";
	public static final String API_MELON_CHART_WEEKLY_STARTDATE = API_MELON_ROOT + "/chart/weekly/"; // followed by start date in yyMMdd
	public static final String API_MELON_CHART_WEEKLY_LATEST = API_MELON_ROOT + "/chart/weekly/latest";
	public static final String API_MELON_CHART_MONTHLY = API_MELON_ROOT + "/chart/monthly";
	public static final String API_MELON_CHART_MONTHLY_LATEST = API_MELON_ROOT + "/chart/monthly/latest";
	public static final String API_MELON_SEARCH_INTEGRATION_ARTIST = API_MELON_ROOT + "/search/integration/artist";
	public static final String API_MELON_SEARCH_INTEGRATION_SONG = API_MELON_ROOT + "/search/integration/song";
	public static final String API_MELON_SEARCH_INTEGRATION_ALBUM = API_MELON_ROOT + "/search/integration/album";
	public static final String API_MELON_USER_REGISTRATION = API_MELON_ROOT + "/users";
	public static final String API_MELON_ALBUM_BY_ARTIST = API_MELON_ROOT + "/albums/by/artist";
	public static final String API_MELON_ALBUM_BY_GENRE = API_MELON_ROOT + "/albums/by/genre";
	public static final String API_MELON_ALBUM_NEW = API_MELON_ROOT + "/albums/new";
	public static final String API_MELON_ALBUM_HOT = API_MELON_ROOT + "/albums/hot";
	public static final String API_MELON_ALBUM_BY_ALBUM_ID = API_MELON_ROOT + "/albums/"; // followed by album's id
	public static final String API_MELON_ARTIST_DETAILS = API_MELON_ROOT + "/artists"; // followed by the artist's id
	public static final String API_MELON_ARTIST_HOT = API_MELON_ROOT + "/artists/hot";
	public static final String API_MELON_SONG_BY_ALBUM = API_MELON_ROOT + "/songs/album";
	public static final String API_MELON_SONG_BY_ARTIST = API_MELON_ROOT + "/songs/artist";
	public static final String API_MELON_SONG_BY_GENRE = API_MELON_ROOT + "/songs/genre";
	public static final String API_MELON_SONG_BY_NEW = API_MELON_ROOT + "/songs/new";
	public static final String API_MELON_GENRE_CATEGORIES = API_MELON_ROOT + "/categories";
	public static final String API_MELON_GENRE_CATEGORIES_BY_ID = API_MELON_ROOT + "/categories/"; // followed by category id and then add '/genres'
	public static final String API_MELON_GENRE_CATEGORIES_ALL = API_MELON_ROOT + "/categories/all";
	public static final String API_MELON_PURCHASE = API_MELON_ROOT + "/purchase/product/klub/radio";
	public static final String API_MELON_CERTIFICATE = API_MELON_ROOT + "/streaming/certification";

	// API for radio stations section
	public static final String API_SUARARADIO_ROOT = "http://www.suararadio.com";
	public static final String API_CATEGORY_URL = API_SUARARADIO_ROOT + "/apis/data/category/";
	public static final String API_CONTENT_URL = API_SUARARADIO_ROOT + "/apis/data/kontenpilihan/";
	public static final String API_CONTENT_DATA_URL = API_SUARARADIO_ROOT + "/apis/data/detail/";
	public static final String API_MOST_PLAYED_LAST_WEEK = API_SUARARADIO_ROOT + "/apis/data/mostplayed/lastweek/";
	public static final String API_MOST_PLAYED_LAST_MONTH = API_SUARARADIO_ROOT + "/apis/data/mostplayed/lastmonth/";
	public static final String API_MOST_PLAYED_ALL_TIME = API_SUARARADIO_ROOT + "/apis/data/mostplayed/alltime/";
	public static final String API_PLAYLIST_URL = API_SUARARADIO_ROOT + "/apis/load_playlist_item/";
	public static final String API_PLAYLIST_ADD_ITEM = API_SUARARADIO_ROOT + "/apis/add_playlist_item/";
	public static final String API_PLAYLIST_DELETE_ITEM = API_SUARARADIO_ROOT + "/apis/del_playlist_item/";
	public static final String API_PLAYLIST_CLEAR = API_SUARARADIO_ROOT + "/apis/clear_playlist";
	public static final String API_PLAYLIST_SAVE = API_SUARARADIO_ROOT + "/apis/save_playlist";
	public static final String API_RADIO_CHANNEL_LIST = API_SUARARADIO_ROOT + "/streaming/lists";
	public static final String API_RADIO_REQUEST = API_SUARARADIO_ROOT + "/apis/data/request/";
	public static final String API_RADIO_RUNDOWN = API_SUARARADIO_ROOT + "/apis/data/rundown/";
	public static final String API_RADIO_CURRENT_PROGRAM = API_SUARARADIO_ROOT + "/apis/data/programme/";
	public static final String API_RADIO_USER_DATA = API_SUARARADIO_ROOT + "/apis/data/user/";
	public static final String API_RADIO_USER_LOGIN = API_SUARARADIO_ROOT + "/apis/user/login";
	public static final String API_RADIO_USER_LOGOUT = API_SUARARADIO_ROOT + "/apis/user/logout";
	
	// Request Signature for Rest Tasking which extends AsyncTask
	public static int REST_AUTHENTICATION = (new String("authentication")).hashCode();
	public static int REST_CERTIFICATE = (new String("certificate")).hashCode();
	public static int REST_GENRE = (new String("genre")).hashCode();
	public static int REST_MUSIC = (new String("music")).hashCode();
	public static int REST_SEARCH = (new String("search")).hashCode();
}
